import Tesseract from "tesseract.js";

const orc: React.FC = () => {
  const tesseractProcess = () => {
    Tesseract.recognize("/tickets/1.jpg", "chi_sim", {
      logger: (m) => {
        console.log(m);
      },
    }).then((d) => {
      console.log(d);
    });
  };
  tesseractProcess();
  return <>11</>;
};

export default orc;
